package com.lavida.project.system.accumulation.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lavida.project.system.accumulation.domain.Accumulation;
import com.lavida.project.system.accumulation.domain.Provident;
import com.lavida.project.system.accumulation.mapper.AccumulationMapper;
@Service
public class AccumulationServiceimpl implements AccumulationService{
	@Autowired
	private AccumulationMapper accumulationMapper;
	@Override
	public List<Accumulation> selectAccumulation() {
		// TODO Auto-generated method stub
		return accumulationMapper.selectAccumulation();
	}
	@Override
	public Accumulation getId(int id) {
		
		return accumulationMapper.getId(id);
	}
	@Override
	public void updateAccu(Accumulation accumulation) {
		accumulationMapper.updateAccu(accumulation);
	}
	@Override
	public void updatePro(Provident provident) {
		// TODO Auto-generated method stub
		accumulationMapper.updatePro(provident);
	}
	@Override
	public List<Provident> selectProvident() {
		// TODO Auto-generated method stub
		return accumulationMapper.selectProvident();
	}
	@Override
	public Provident getProId(int id) {
		// TODO Auto-generated method stub
		return accumulationMapper.getProId(id);
	}
	@Override
	public Accumulation selectBycoverage(String coverage) {
		// TODO Auto-generated method stub
		return accumulationMapper.selectBycoverage(coverage);
	}
	@Override
	public Provident ProselectById(Integer id) {
		// TODO Auto-generated method stub
		return accumulationMapper.ProselectById(id);
	}
}
